Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Manual Backport 2.x] Add api registry and allow it to be added into client config in data source plugin #5906

Merged

Conversation

BionIT
Copy link
Collaborator

@BionIT BionIT commented Feb 21, 2024

Description

Backport #5895 to 2.x

Issues Resolved

Screenshot

Testing the changes

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

…source plugin (opensearch-project#5895)

* add api registry and allow it to be added into client config

Signed-off-by: Lu Yu <[email protected]>

* add changelog

Signed-off-by: Lu Yu <[email protected]>

* add documentation for multi data source plugin api registry

Signed-off-by: Lu Yu <[email protected]>

* change to resolve promise before calling getQueryClient

Signed-off-by: Lu Yu <[email protected]>

---------

Signed-off-by: Lu Yu <[email protected]>
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (91d0dea) 67.02% compared to head (cbf560f) 67.02%.

Additional details and impacted files
@@           Coverage Diff           @@
##              2.x    #5906   +/-   ##
=======================================
  Coverage   67.02%   67.02%           
=======================================
  Files        3302     3303    +1     
  Lines       63610    63615    +5     
  Branches    10147    10147           
=======================================
+ Hits        42636    42641    +5     
  Misses      18511    18511           
  Partials     2463     2463           
Flag Coverage Δ
Linux_1 35.22% <ø> (ø)
Linux_2 55.15% <ø> (ø)
Linux_3 43.57% <100.00%> (+<0.01%) ⬆️
Linux_4 35.33% <ø> (ø)
Windows_1 35.24% <ø> (ø)
Windows_2 55.12% <ø> (ø)
Windows_3 43.57% <100.00%> (+<0.01%) ⬆️
Windows_4 35.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Flyingliuhub Flyingliuhub merged commit 7e4b67d into opensearch-project:2.x Feb 21, 2024
80 of 82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants